<!DOCTYPE html>
<html lang="en">
<head>
<title>Google Maps Library: GMLib.Events</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.15.0">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="tipuesearch/tipuesearch.css">

<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<div class="container"><div class="navigation">
<h2><a href="index.html">Google Maps Library</a></h2><ul><li><a href="AllUnits.html">Units</a></li><li><a href="ClassHierarchy.html">Class Hierarchy</a></li><li><a href="AllClasses.html">Classes, Interfaces, Objects and Records</a></li><li><a href="AllTypes.html">Types</a></li><li><a href="AllVariables.html">Variables</a></li><li><a href="AllConstants.html">Constants</a></li><li><a href="AllFunctions.html">Functions and Procedures</a></li><li><a href="AllIdentifiers.html">Identifiers</a></li><li><a href="GVUses.png">Unit dependency graph</a></li><li><a href="GVClasses.png">Classes hierarchy graph</a></li><li><form class="search-form" action="_tipue_results.html"><div class="search-input"><input type="text" name="q" id="tipue_search_input" pattern=".{3,}" title="At least 3 characters" required><div class="search-button"><input type="button" id="tipue_search_button" onclick="this.form.submit();"></div></div></form>
<div style="clear: both"></div>
</li></ul></div><div class="content">
<table class="container">
<tr>
<td><i><a href="http://www.cadetill.com" target="_blank">cadetill's blog</a></i></td>
<td align ="right"><i>Copyright &copy; Xavier Mart&iacute;nez (cadetill)</i></td>
</tr>
</table>
<hr noshade="" size="1">
<h1 class="unit">Unit GMLib.Events</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Uses">Uses</a></div><div class="one_section">Classes, Interfaces, Objects and Records</div><div class="one_section">Functions and Procedures</div><div class="one_section"><a class="section" href="#PasDoc-Types">Types</a></div><div class="one_section">Constants</div><div class="one_section">Variables</div></div>
<span id="PasDoc-Description"></span><h2 class="description">Description</h2>
<p>
Events definition for GMLib.</p>
<p>
   

<p>The GMLib.Events unit provides access to all events fired for GMLib components.</p>
<span id="PasDoc-Uses"></span><h2 class="uses">Uses</h2>
<ul class="useslist"><li><a href="GMLib.LatLngBounds.html">GMLib.LatLngBounds</a></li><li><a href="GMLib.LatLng.html">GMLib.LatLng</a></li><li><a href="GMLib.Sets.html">GMLib.Sets</a></li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Types"></span><h3 class="summary">Types</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><strong><a href="GMLib.Events.html#TGMPropertyChangesEvent">TGMPropertyChangesEvent</a></strong> = procedure(Owner: TObject; PropName: string) of object;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="GMLib.Events.html#TGMBoundsChangedEvent">TGMBoundsChangedEvent</a></strong> = procedure(Sender: TObject; NewBounds: <a href="GMLib.LatLngBounds.TGMLatLngBounds.html">TGMLatLngBounds</a>) of object;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><strong><a href="GMLib.Events.html#TGMLatLngEvent">TGMLatLngEvent</a></strong> = procedure(Sender: TObject; LatLng: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>; X, Y: Double) of object;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="GMLib.Events.html#TGMMapTypeIdChangedEvent">TGMMapTypeIdChangedEvent</a></strong> = procedure(Sender: TObject; NewMapTypeId: <a href="GMLib.Sets.html#TGMMapTypeId">TGMMapTypeId</a>) of object;</code></td>
</tr>
<tr class="list">
<td class="itemcode"><code><strong><a href="GMLib.Events.html#TGMZoomChangedEvent">TGMZoomChangedEvent</a></strong> = procedure(Sender: TObject; NewZoom: Integer) of object;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code><strong><a href="GMLib.Events.html#TGMAfterPageLoaded">TGMAfterPageLoaded</a></strong> = procedure(Sender: TObject; First: Boolean) of object;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Types</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TGMPropertyChangesEvent"></span><code><strong>TGMPropertyChangesEvent</strong> = procedure(Owner: TObject; PropName: string) of object;</code></td>
</tr>
<tr><td colspan="1">
<p>
Event fired when a property from and object changes.</p>
<p>


<p>  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Owner</dt>
<dd>Owner of property.</dd>
<dt>PropName</dt>
<dd>Property name.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TGMBoundsChangedEvent"></span><code><strong>TGMBoundsChangedEvent</strong> = procedure(Sender: TObject; NewBounds: <a href="GMLib.LatLngBounds.TGMLatLngBounds.html">TGMLatLngBounds</a>) of object;</code></td>
</tr>
<tr><td colspan="1">
<p>
OnBoundsChanged event is fired when the bounds of map changed.</p>
<p>


<p> </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Sender</dt>
<dd>Owner object.</dd>
<dt>NewBounds</dt>
<dd>New map bounds.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TGMLatLngEvent"></span><code><strong>TGMLatLngEvent</strong> = procedure(Sender: TObject; LatLng: <a href="GMLib.LatLng.TGMLatLng.html">TGMLatLng</a>; X, Y: Double) of object;</code></td>
</tr>
<tr><td colspan="1">
<p>
TGMLatLngEvent is used for events that return a lat/lng formatted in LatLng and a X and Y.</p>
<p>


<p>    </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Sender</dt>
<dd>Owner object.</dd>
<dt>LatLng</dt>
<dd>Lat/lng coordinates.</dd>
<dt>X</dt>
<dd>X Coordinate.</dd>
<dt>Y</dt>
<dd>Y Coordinate.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TGMMapTypeIdChangedEvent"></span><code><strong>TGMMapTypeIdChangedEvent</strong> = procedure(Sender: TObject; NewMapTypeId: <a href="GMLib.Sets.html#TGMMapTypeId">TGMMapTypeId</a>) of object;</code></td>
</tr>
<tr><td colspan="1">
<p>
This event is fired when the mapTypeId property changes.</p>
<p>


<p>  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Sender</dt>
<dd>Owner object.</dd>
<dt>NewMapTypeId</dt>
<dd>The new <a class="normal" href="GMLib.Sets.html#TGMMapTypeId">TGMMapTypeId</a>.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TGMZoomChangedEvent"></span><code><strong>TGMZoomChangedEvent</strong> = procedure(Sender: TObject; NewZoom: Integer) of object;</code></td>
</tr>
<tr><td colspan="1">
<p>
This event is fired when the map zoom property changes.</p>
<p>


<p>  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Sender</dt>
<dd>Owner object.</dd>
<dt>NewZoom</dt>
<dd>The new zoom.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><span id="TGMAfterPageLoaded"></span><code><strong>TGMAfterPageLoaded</strong> = procedure(Sender: TObject; First: Boolean) of object;</code></td>
</tr>
<tr><td colspan="1">
<p>
AfterPageLoaded event is fired when the base HTML code es loaded (<code>First</code> param is <code>True</code>) or map is loaded (<code>First</code> param is <code>False</code>).

<p>  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Sender</dt>
<dd>Owner object.</dd>
<dt>First</dt>
<dd>True when HTML code loaded. False when Google Maps map loaded.</dd>
</dl>
</td></tr>
</table>
<h2 class="authors">Author</h2>
<ul class="authors">
<li>Xavier Martinez (cadetill) &lt;<a href="mailto:cadetill@gmail.com">cadetill@gmail.com</a>&gt;</li>
</ul>
<h2 class="created">Created</h2>
<p>
August 2, 2022
</p>
<h2 class="modified">Last Modified</h2>
<p>
August 21, 2022
</p>
<hr><span class="appinfo"><em>Generated by <a href="https://github.com/pasdoc/pasdoc/wiki">PasDoc 0.15.0</a>. </em>
</span>
</div></div></body></html>
